﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;

namespace MVCGalloSoftMV5.Models
{
    [Table("Documento")]
    public class Documento
    {
        [Key]
        public int DocumentoId { get; set; }
        
        [Display(Name = "Documento")]
        [StringLength(250)]
        [Required(ErrorMessage = "El campo Documento es requerido")]
        [Column("Documento")]
        public string Descripcion { get; set; }
        
        [Display(Name = "Ruta")]
        [StringLength(250)]
        [Required(ErrorMessage = "El campo Ruta es requerido")]
        public string Path { get; set; }
    }
}
